Connecting picture iParts to Facebook

You can set up the Contact Mini Profile and Contact Profile Picture iParts to prompt people to use their Facebook profile picture in iMIS, instead of uploading a picture. To use this feature, you must do the following:

■    Create a Facebook app so that your website can connect to Facebook

■    Enable the Facebook API in your web.config

■    Enable the iPart configuration option to Prompt for Facebook connection

When enabled, logged in users are prompted to connect to Facebook when they edit their profile picture.

Description: C:\Users\MBurpo\AppData\Local\Temp\SNAGHTML5392bcc.PNG

To create your Facebook application and use it in iMIS

1.  Create your Facebook application.

□    Log in to the Facebook Developers site.

□    Click +Create New App.

□    Enter an appropriate App Display Name and App Namespace for your organization. Only the App Display Name will be visible to users.

□    Click Continue and complete your App creation.

□    On the Basic info page for your App, enter the Site URL for your iMIS application.

□    Take note of the App ID Facebook has created for you.

2.  Add your Facebook App information to the required iMIS JavaScript.

□    Edit your iMIS Facebook.js file using a text editor. By default it is located in C:\Program Files\ASI\iMIS15\Net\AsiCommon\Scripts\SocialMedia.

□    Search the file to find the Facebook appId value and update it with the ID issued to you by Facebook.

To enable the Facebook API

1.  Edit the iMIS15 web.config file, located by default in C:\Program Files\ASI\iMIS15\net.

2.  Search the file to find the EnableFacebookApi key, and set the value to “true”.

To enable the Facebook connection in iParts

Configure each instance of the Contact Mini Profile and Contact Profile Picture iParts used in your website to enable the options Allow picture change and removal and Prompt for Facebook connection.